package org.stars.config;

import java.util.Locale;

/**
 * The Interface MessageBundle.
 */
public interface MessageBundle {
	
	/**
	 * Load message bundle.
	 */
	public void load();
	
	/**
	 * Load message bundle for specific locale.
	 *
	 * @param locale the locale
	 */
	public void load(Locale locale);
	
	/**
	 * Gets the message.
	 *
	 * @param message the message
	 * @param args the args
	 * @return the message
	 */
	public String getMessage(Object message, String ...  args );
	
	/**
	 * Gets the current locale.
	 *
	 * @return the current locale
	 */
	public Locale getCurrentLocale();
	
	/**
	 * Sets the current locale.
	 *
	 * @param value the new current locale
	 */
	public void setCurrentLocale(Locale value);
}